#ifndef SUMMATER_H
#define SUMMATER_H

#include <QObject>

class Summater : public QObject
{
    Q_OBJECT

    int m_a;
    int m_b;

public:
    Summater(QObject *p=NULL);

    void setA(int a);
    void setB(int b);

    int sum() const;

signals:

    void valueChanged();

};

#endif // SUMMATER_H
